<div class="r r-3x">
    <form name="printerForm">
        <div class="form-horizontal form-validation r r-3x">
            <div class="panel-body">
                <div class="m-b-sm panel-body b-a b-dashed r-3x">
                    <div>
                        <button class="btn btn-rounded btn-danger btn-sm h6 m-r-xs" ng-click="shutdown()">关机<i class="m-l-xs fa  fa-dot-circle-o"></i></button>
                        <button class="btn btn-rounded btn-info btn-sm h6" ng-click="restart()">重启<i class="m-l-xs glyphicon glyphicon-refresh"></i></button>
                    </div>
                </div>
                <div class="m-b-sm panel-body b-a b-dashed r-3x">
                    <div class="col-sm-6">
                        <label class="m-b-xs text-muted">声效</label>
                        <div>
                            <label class="i-switch m-t-xs m-r">
                                <input type="checkbox" ng-model="printerVoiceVO.soundType" ng-true-value="1" ng-false-value="0" ng-change="setSound()">
                                <i></i>
                            </label>
                            <span class="block text-muted" ng-bind="{0:'喇叭声',1:'蜂鸣'}[printerVoiceVO.soundType]">蜂鸣</span>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <label  class="m-b-xs text-muted">音量</label>
                        <div class="w-xs">
                            <slider ng-model="printerVoiceVO.sound" floor="0" ceiling="3" ng-click="setSound()"></slider>
                        </div>
                    </div>
                </div>
                <div class="panel-body b-a b-dashed r-3x">
                    <div class="col-sm-6">
                        <label class="m-b-xs text-muted">提示音</label>
                        <div>
                            <label class="i-switch m-t-xs m-r">
                                <input type="checkbox" ng-model="printerVoiceVO.isOpenVoice" ng-true-value="1" ng-false-value="0" ng-change="setVoice()">
                                <i></i>
                            </label>
                            <span class="block text-muted" ng-bind="{0:'关闭',1:'开启'}[printerVoiceVO.isOpenVoice]">开启</span>
                        </div>
                    </div>
                    <div class="col-sm-6" ng-if="printerVoiceVO.isOpenVoice==1">
                        <label  class="m-b-xs text-muted">音量</label>
                        <div class="w-xs">
                            <slider ng-model="printerVoiceVO.voice" floor="1" ceiling="9" ng-click="setVoice()"></slider>
                        </div>
                    </div>


                </div>

            </div>
        </div>
    </form>
</div>